import { computed, defineComponent, ref } from 'vue';
import Basic from './Basic.vue';
import CustomDefaultView from './CustomDefaultView.vue';
import CustomPalette from './CustomPalette.vue';
import Dark from './Dark.vue';
import DefaultValue from './DefaultValue.vue';
import DisableReadonly from './DisableReadonly.vue';
import Input from './Input.vue';
import LazyModel from './LazyModel.vue';
import NativeForm from './NativeForm.vue';
import NoHeaderFooter from './NoHeaderFooter.vue';

export default defineComponent({
  name: 'App',
  props: {},
  emits: [],

  setup(props, { attrs, emit, expose, slots }) {
    expose({});

    return () => {
      return (
        <div class='block'>
          <div class='block-'>
            <h5 class='title'>Basic</h5>
            <Basic />
          </div>
          <div class='block-'>
            <h5 class='title'>CustomDefaultView</h5>
            <CustomDefaultView />
          </div>
          <div class='block-'>
            <h5 class='title'>CustomPalette</h5>
            <CustomPalette />
          </div>
          <div class='block-'>
            <h5 class='title'>Dark</h5>
            <Dark />
          </div>
          <div class='block-'>
            <h5 class='title'>DefaultValue</h5>
            <DefaultValue />
          </div>
          <div class='block-'>
            <h5 class='title'>DisableReadonly</h5>
            <DisableReadonly />
          </div>
          <div class='block-'>
            <h5 class='title'>Input</h5>
            <Input />
          </div>
          <div class='block-'>
            <h5 class='title'>LazyModel</h5>
            <LazyModel />
          </div>
          <div class='block-'>
            <h5 class='title'>NativeForm</h5>
            <NativeForm />
          </div>
          <div class='block-'>
            <h5 class='title'>NoHeaderFooter</h5>
            <NoHeaderFooter />
          </div>
        </div>
      );
    };
  },
});
